/*
 * @Author: Even
 * @Date: 2023-11-28 20:37:32
 * @LastEditors: Even
 * @LastEditTime: 2023-12-28 20:38:21
 * @FilePath: \opencos\include\order\order_status.h
 * @Description:
 */
#ifndef OPENCOS_ORDER_STATUS_H
#define OPENCOS_ORDER_STATUS_H

#include <string>

enum class OrderStatus
{
    INVALID,
    QUEUING,
    CANCELLED,
    FINISHED,
};

namespace Convert
{
void StringToOrderStatus(const std::string &str, OrderStatus &status);
void OrderStatusToString(const OrderStatus &status, std::string &str);
std::string OrderStatusToString(const OrderStatus &status);
}

#endif
